home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld Secrets (4th Edition)
/
Mac Secrets CD 4th Ed.toast
/
Apple Advanced Technologies
/
Apple Speech Technologies 1.5
/
PlainTalk Developer Info
/
Speech Recognition Manager SDK
/
SR Sample Code
/
Weapons Example
/
Weapons.h
< prev
next >
Wrap
Text File
|
1996-04-11
|
1KB
|
42 lines
#define rMenuBar 128
#define rWindow 128
#define mApple 128 /* Apple menu */
#define mFile 129 /* File menu */
#define iQuit 1
enum
{
kFirstItem = 128,
kKnife = kFirstItem,
kPistol,
kMachineGun,
kShotgun,
kFlameThrower,
kRocketLauncher,
kLastItem = kRocketLauncher
};
#define chBackspace '\b' /* ASCII code for Backspace character */
#define chClear '\033' /* ASCII code for Clear key (aka ESC) */
#define chDown '\037' /* ASCII code for down arrow */
#define chEnd '\004' /* ASCII code for the End key */
#define chEnter '\003' /* ASCII code for Enter character */
#define chEscape '\033' /* ASCII code for Escape (aka Clear) key */
#define chFunction '\020' /* ASCII code for any function key */
#define chFwdDelete '\177' /* ASCII code for forward delete */
#define chHelp '\005' /* ASCII code for Help key */
#define chHome '\001' /* ASCII code for the Home key */
#define chLeft '\034' /* ASCII code for left arrow */
#define chPageDown '\f' /* ASCII code for Page Down key */
#define chPageUp '\013' /* ASCII code for Page Up key */
#define chReturn '\n' /* ASCII code for Return character */
#define chRight '\035' /* ASCII code for right arrow */
#define chSpace ' ' /* ASCII code for Space character */
#define chTab '\t' /* ASCII code for Tab character */
#define chUp '\036' /* ASCII code for up arrow */
// prototypes
void SetWeapon (short weaponID);